/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:DebugInterceptor.java   2020-07-18 13:14 wanglijun
 */
package cn.datacare.orm.interceptor;

/**
 * <p>
 * Title: DebugInterceptor
 * </p>
 * <p>
 * Description: DebugInterceptor
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-18 13:14
 */
public class DebugInterceptor implements Interceptor {


    /***
     *  如果正常执行，调用after
     * @param context
     */
    @Override
    public void after(InterceptorContext context) {

    }

    /***
     * SQL执行
     * @param context
     */
    @Override
    public void before(InterceptorContext context) {

    }

    /***
     * 如有遇到有异常情况，则调用 exception方法
     * @param context
     * @param e  Exception
     */
    @Override
    public void exception(InterceptorContext context,Exception e) {

    }
}
